﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCL.Data.ORM.UMD
{
    /// <summary>
    /// 数据库版本
    /// </summary>
    /// <remarks>2014-4-16</remarks>
    public class tDBVersion
    {
        /// <summary>
        /// 数据表名称
        /// </summary>
        public string TableName { get; set; }
        public string _TableName;

        /// <summary>
        /// 数据表当前版本
        /// </summary>
        public string Version { get; set; }
        public string _Version;

        /// <summary>
        /// 历次更新的SqlText存档
        /// </summary>
        public string SqlText { get; set; }

        [DBColumn(Common="历次更新的SqlText存档", Length="Max")]
        public string _SqlText;

        /// <summary>
        /// 数据表创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
        public DateTime _CreatedTime;

        /// <summary>
        /// 数据表更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        public DateTime? _UpdateTime;

        /// <summary>
        /// 数据表当前状态
        /// </summary>
        public short State { get; set; }
        public short? _State { get; set; }
    }
}
